﻿#include <iostream>
using namespace std;
int main()
{
	int arr[] = { 69 ,550 ,371 ,240 ,999 ,981 ,654 ,445 ,470 ,53 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	int max = arr[0];
	int min = arr[0];
	for (int i = 0; i < sz; i++)
	{
		if (max < arr[i])
			max = arr[i];
		if (min > arr[i])
			min = arr[i];
	}
	cout << "最大值为:" << max << endl;
	cout << "最小值为:" << min << endl;
}